/**
 * FssLoggerTestdriver.java
 */
package fss.core.logger;

import java.util.logging.Logger;

import fss.core.FssException;

/**
 * Testdriver for FssLogger.
 * @author thinh
 *
 */
public class FssLoggerTestdriver {
    /**
     * Application entry.
     * @param args not used.
     * @throws FssException 
     */
    public static void main(String[] args) throws FssException {
        Logger logger1 = FssLogger.getInstance().getRemoteServiceLogger("service00");
        logger1.info("Testing INFO level message");
        logger1.warning("Testing WARNING level message");
        logger1.severe("Testing SEVERE level message");
        
        Logger logger2 = FssLogger.getInstance().getServiceRegistryLogger("reg00");
        logger2.info("Testing INFO level message");
        logger2.warning("Testing WARNING level message");
        logger2.severe("Testing SEVERE level message");
        
        Logger logger3 = FssLogger.getInstance().getApplicationLogger();
        logger3.info("Testing INFO level message");
        logger3.warning("Testing WARNING level message");
        logger3.severe("Testing SEVERE level message");
    }
}
